package week03.starbucks_ex;

public abstract class Decorator3 implements IDrink{
    private double price = 33;
    protected IDrink iDrink;

    public Decorator3(IDrink iDrink) {
        this.iDrink = iDrink;
    }

    public double getPrice() {
        iDrink.getPrice();
        return price;
    }
}

